class Book {
    static hasMany = [authors:Author]
    static belongsTo = Author

    String name
    Date yearPublished
    Publisher publisher

    static constraints = {
    }

    String toString() {
        return name
    }
}
